#ifndef GROUPGAMECOMMAND_H
#define GROUPGAMECOMMAND_H

#include "GameCommand.h"
#include <list>


class GroupGameCommand: public GameCommand
{
public:
	GroupGameCommand();
	GroupGameCommand(const GroupGameCommand& rhs);
	virtual ~GroupGameCommand();

	GameCommand* Clone() const;
	void AddCommand(GameCommand* command);
	void Execute();
	void Clear();
	
protected:
private:
	std::list<GameCommand*> commands;
};

#endif //GROUPGAMECOMMAND_H
